namespace SubSonic
{
    using System;

    public static class Is
    {
        public static IConstraint EqualTo(object comparand)
        {
            return new GenericConstraint(Comparison.Equals, comparand);
        }

        public static IConstraint GreaterThan(object comparand)
        {
            return new GenericConstraint(Comparison.GreaterThan, comparand);
        }

        public static IConstraint GreaterThanOrEqualTo(object comparand)
        {
            return new GenericConstraint(Comparison.GreaterOrEquals, comparand);
        }

        public static IConstraint LessThan(object comparand)
        {
            return new GenericConstraint(Comparison.LessThan, comparand);
        }

        public static IConstraint LessThanOrEqualTo(object comparand)
        {
            return new GenericConstraint(Comparison.LessOrEquals, comparand);
        }

        public static IConstraint Like(object comparand)
        {
            return new GenericConstraint(Comparison.Like, comparand);
        }

        public static IConstraint NotEqualTo(object comparand)
        {
            return new GenericConstraint(Comparison.NotEquals, comparand);
        }

        public static IConstraint NotLike(object comparand)
        {
            return new GenericConstraint(Comparison.NotLike, comparand);
        }
    }
}

